package singleton;

/**
 * 懒汉式
 * @author wangxun
 * @version 1.0
 * @description: TODO
 * @date 2020/11/13 9:04 上午
 */
public class LazySingleton {

    private static LazySingleton singleton = new LazySingleton();

    /**
     * 构造器私有化
     */
    private LazySingleton(){

    }

    public static LazySingleton getLazySingleton(){
        return singleton;
    }

}
